% This file executes all "main_" files in the folder, and exports all
% diagrams to the "figures" folder

% specify the root directly below:
cd 'C:/Users/Jilun/Dropbox/WorldEconomy_RiskIntolerance/paper RFS final submission/replication/numerical and calibration exercises'


% Replicate Fig 2 & Fig 3
clear all;
main_baseline;
close all;

% Replicate Fig 4 & Fig 5
clear all;
main_LSAP;
close all;

% Replicate Fig 6 & Fig B1
clear all;
main_calibration_baseline;
close all;

% Replicate Fig 7 & Fig B2
clear all;
main_calibration_LSAP;
close all;

% Replicate Fig 8
clear all;
main_debtOverhang;
close all;

% Replicate Fig A1
clear all;
main_LSAP_optimal;
close all;
